 #include <iostream>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

int main()
{
    umask(0);
    int log_fd = open("log.txt", O_RDWR | O_CREAT, 0666);
    return 0;
}